home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 26
/
Cream of the Crop 26.iso
/
program
/
qlib205.zip
/
QLIB.ZIP
/
INC
/
STRING.INC
< prev
next >
Wrap
Text File
|
1997-01-07
|
2KB
|
57 lines
.code
strcmpi equ <stricmp>
strncmpi equ <strnicmp>
strcpy proto,s1off:dword,s2off:dword
strcat proto,s1off:dword,s2off:dword
strlen proto,off:dword
strcmp proto,s1:dword,s2:dword
stricmp proto,s1:dword,s2:dword
strchr proto,s1:dword,c1:byte
strcspn proto,s1:dword,s2:dword
strspn proto,s1:dword,s2:dword
strdup proto,s1:dword
strlwr proto,s1:dword
strupr proto,s1:dword
strpbrk proto,s1:dword,s2:dword
strrchr proto,s1:dword,c1:byte
strrev proto,s1:dword
strset proto,s1:dword,c1:byte
strstr proto,s1:dword,s2:dword
strtok proto,s1:dword,s2:dword
strxfrm proto,s1:dword,s2:dword,len:dword
strncpy proto,s1off:dword,s2off:dword,siz:dword
strncat proto,s1off:dword,s2off:dword,siz:dword
strncmp proto,s1:dword,s2:dword,siz:dword
strnicmp proto,s1:dword,s2:dword,siz:dword
strnset proto,s1:dword,c1:byte,siz:dword
memmove equ <memcpy>
movmem equ <memcpy>
memcmpi equ <memicmp>
memcpy proto,dest:dword,src:dword,len:dword ;FIX v1.1: I had dest/src reversed!
memccpy proto,dest:dword,src:dword,c1:byte,len:dword
memcmp proto,p1:dword,p2:dword,len:dword
memicmp proto,p1:dword,p2:dword,len:dword
memset proto,p:dword,val:byte,len:dword
setmem proto,p:dword,len:dword,val:byte
memchr proto,p:dword,val:byte,len:dword
str2num proto,s:dword
str2numx proto,s:dword
str2numb proto,s:dword
str2numo proto,s:dword
.data
externdef _str2num_siz_:dword ;# of chars that last str2num_* used
.code
num2str proto,a:dword,off:dword,rax:byte
num2strc proto,a:dword,off:dword,rax:byte
num2strs proto,a:dword,off:dword,rax:byte
num2strsc proto,a:dword,off:dword,rax:byte